Focus on UI-Practical Technology: Fuzzy search and ui fuzzy search
In the current project, we need to perform fuzzy search and quickly complete the first version based on previous technologies. Let's take a look at the results of the first version. Let's make a comment later
Today in the project to encounter a Select2 plugin in the jquery UI Dialog cannot focus to the search box problem, later added in the JS code (location can be selected, I choose the location is select2.min.js behind, because many places are used, Do not modify for a single function):$.ui.dialog.prototype._allowinteraction = function (e) {return!! $ (e.target). Closest ('.
Google UI jazz is a new Google search interface. It is said to be launched early next year. The biggest feature of UI jazz is to integrate images, videos, news, maps, and related searches into the left sidebar, the treasure chest will also be opened by default. The UI jazz also improves the appearance of the current
In most cases, providing search Help for a specific field in the Web UI requires that search help be created in the transaction SE11. (Note: You can also provide search Help by creating a class in SE24 and implementing the If_bsp_wd_custom_f4_callback interface.) )Let's start by creating
In today's projects. Need to do fuzzy search, on the basis of technology has been very fast completed the first edition. Let's take a look at the first version of the effect, we will do a comment:0 Basics:We may be part of the source code (the attachment will have the source code)Simple upgrade:It is very obvious that we can see it. We leaked the data and leaked the data to the user on the interface. This is very critical, after the familiar Ajax Tech
The search bar is a very simple action in the UI, drag a search bar.The more important property in the search bar is the placeholder, which is the placeholder on the right side of the graph, such as entering "Please enter keywords", as shown below:This is the setting of the background color:The options option makes som
and numbers.
Summary:
Through our self-check and responsible testing, we changed a small function on the UI and fuzzy search n times. This is exactly in line with the idea of "user first". We should deepen our philosophy, for the user, the interface is all. In terms of UI optimization, we should spare no effort to think for the user and do it for the user! A
How to enter the new search interface of the UI jazz Google?
Some users found that Google's new search Interface UI Jazz can now be accessed through a special method:
First, go to Google.com
Then, copy the following content to the ground bar to overwrite the Google.com address:
Javascript: void (document. cookie =
-Text.clearbuttonmode =uitextfieldviewmodealways; - -Self.navigationItem.titleView = text;Two: Package1 //Initialize2 /**3 * Use TextField to implement search box function encapsulation4 */5 //Set Font size6Self.font = [Uifont systemfontofsize: the];7 //Set Prompt Text8Self.placeholder =@"Please enter search criteria";9 //set the background picture of a text b
Brief tutorials
This is a search box UI design effect made with CSS3. These search boxes in the design of simple code, design style with a flat style dominated, the effect of fashion generous.
How to use
HTML structure
The HTML structure of all search boxes is to place a single input and a Submit button in a form form
Swift UI special training 17 SearchBar search entries, uisearchbar
The search bar is a simple operation in the UI. Drag a search bar.
The most important attribute in the search bar is the Placeholder, that is, the Placeholder
Recently there is a need for the project, in the newly added merchant, when the user entered the merchant name, if the system has a similar merchant name, directly displayed, such as the effect:Implement this function by using the jquery UI plugin directlyThe implementation version I'm currently using is:Users can download their own JS files, CSS files, put in your project can be accessed to the location on it.Once these files are introduced, you can
"," Bibibi "]};
Gets the DOM object var $hintSearch = $ ("Input[name= ' Hint-search") that needs to be called multiple times later;
var $hintSearchContainer = $ (". Hint-input-span-container");
var $hintBlock = $ (". Hint-block");
var $hintUl = $ (". Hint-ul");
The first invocation adds a dictionary adddictionary (Data.data,addullistener);
Sets the dictionary list width sethintsearchcontainerwidth ();
Implement responsive listener Resize event $ (win
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.